<extend name="Base:common" />
<block name="body">
    <div class="tip-panel t-center">
        <img alt="" src="__IMG__/tip-error.png"/>
        <notempty name="error">
            <p class="tip-message">
                {$error}
            </p>
        </notempty>
        <p>
            <b id="wait">{$waitSecond}</b>秒后自动跳转...
        </p>
    </div>

    <a id="href" class="hide" href="{$jumpUrl}">跳转</a>
    <script type="text/javascript">

     (function(){
         var wait = document.getElementById('wait'),href = document.getElementById('href').href;
         var interval = setInterval(function(){
             var time = --wait.innerHTML;
             if(time <= 0) {
                 location.href = href;
                 clearInterval(interval);
             };
         }, 1000);
     })();

    </script>

</block>
